/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xos_http.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __HELPER_XOS_XOS_LOAD_H__
#define __HELPER_XOS_XOS_LOAD_H__

namespace xos_http
{

    class xos_load
    {
    public:
        xos_load();
        ~xos_load();

    protected:
        int port_scan( const char * lpszPath, xos_box::i_str_property * pIn, xos_box::i_str_property * pOut );
        int host_scan( port * pPort, xos_box::i_str_property * pIn, xos_box::i_str_property * pOut );
        int path_scan( path * pRootPath, xos_box::i_str_property * pIn, xos_box::i_str_property * pOut, int nDepth );

    public:
        int load();

    };

} // xos_http

#endif // __HELPER_XOS_XOS_LOAD_H__
